import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import './assets/rem'
import 'amfe-flexible'
import pinia from './store/index'
import router from './router'
// 自定义全局组件
// 按需引入vant 组件
import { Tabbar, TabbarItem } from 'vant';
// createApp(App).use(createPinia()).mount('#app')
const app = createApp(App)
app.use(router)
app.use(pinia)
// vant组件注入
app.use(Tabbar);
app.use(TabbarItem);

// 全局组件注册
app.mount('#app')


  